package com.fzhucc.modules.security.domain;

/**
 * @author Woolsen
 */
public class UserType {

    public static final int SYSTEM = 1;

    public static final int WECHAT = 2;

    public static int getType(String username) {
        return username.length() < 20 ? SYSTEM : WECHAT;
    }
}
